package com.studay;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;

import javax.management.MXBean;

@ComponentScan("com.studay")
public class Config {

//    @Bean
//    public User user(){
//        return new User();
//    }

    @Bean
    public UserService userService(){
        return new UserService();
    }
}
